package com.kang.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

public class Controller {
	@RequestMapping("/kang")
	public ModelAndView mvc(){
		String msg = "this is an simple mvc example!";
		return new ModelAndView("message","msg",msg);
	}
	@RequestMapping("/f")
	public String demit(){
		
		System.out.println("this is what the f!");
		return "goDie";
	}
	public String dos(){
		
		return "ssss";
	}
}
